package com.yida.gwj.basis.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lqq
 * @date 2023-08-25
 */
@ApiModel("业主认证审核请求对象")
public class GwjOwnerAttestApproveRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("业主认证申请ID")
    @NotNull(message = "审批失败,业主认证申请ID不能为空")
    private Long ownerAttestId;

    @ApiModelProperty("审批意见")
    @NotBlank(message = "审批失败,审批意见不能为空")
    private String approveContent;

    @ApiModelProperty("是否是外网")
    @NotBlank(message = "审批失败,内外网标识不能为空")
    private Boolean outsideFlag;

    @ApiModelProperty("审批标识")
    private String approveCode;

    public String getApproveCode() {
        return approveCode;
    }

    public void setApproveCode(String approveCode) {
        this.approveCode = approveCode;
    }

    public Boolean getOutsideFlag() {
        return outsideFlag;
    }

    public void setOutsideFlag(Boolean outsideFlag) {
        this.outsideFlag = outsideFlag;
    }

    public Long getOwnerAttestId() {
        return ownerAttestId;
    }

    public void setOwnerAttestId(Long ownerAttestId) {
        this.ownerAttestId = ownerAttestId;
    }

    public String getApproveContent() {
        return approveContent;
    }

    public void setApproveContent(String approveContent) {
        this.approveContent = approveContent;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjOwnerAttestApproveRequest{");
        sb.append("ownerAttestId=").append(ownerAttestId);
        sb.append(", approveContent='").append(approveContent).append('\'');
        sb.append(", outsideFlag=").append(outsideFlag);
        sb.append(", approveCode=").append(approveCode);
        sb.append('}');
        return sb.toString();
    }
}
